-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TrackerNano implementation #165
TrackerNano implementation #165
Conversation
cc/tracking/Trackers/TrackerNano.cc
Outdated
|
||
#include "TrackerNano.h" | ||
|
||
#if CV_VERSION_GREATER_EQUAL(3, 2, 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think the min value for the NanoTracker is 4.7.0
cc/tracking/Trackers/TrackerNano.cc
Outdated
} | ||
|
||
NAN_METHOD(TrackerNano::GetModel) { | ||
// TBD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBD ???
|
-Check for OpenCV version 4.7 or greater
Done. |
ho nooooo !!!! Some checks were not successful |
Oh no! There was an issue with loading the model in the unit test. I have fixed it now. |
@UrielCh, it looks like the test "Use openCV from Brew / build (4, 22) (pull_request)" failed due to an unrelated system fault. Could you please run it again? |
all Tests pass, but the I still need to test mutiple openCV version. |
I still get some Stack trace whene I use TrackerNano. |
Did you try it using the official TrackerNano model files here? https://github.com/HonglinChu/SiamTrackers/tree/master/NanoTrack/models/nanotrackv2 |
I did some cleaning in the source tree moving all legacy tracker in a single file. |
you commit the 2 models: fdf592d3f946aa84775eecd1e388ab9f nanotrackv2/nanotrack_backbone_sim.onnx is there something wrong with the V3 ? could you please add an smple code in the "examples" folder ? by the way the |
I haven't tried the V3 models, but they should work just as well. I only included the V2 models so the tests run could run. |
could you please add an smple code in the "examples" folder ? by the way the Use the branch named 7.2.0 to make changes |
I have added bindings for using OpenCV's TrackerNano single object tracker, which is superior to any of the other available trackers (CSRT, MOSSE, TLD, etc.).
The changes allow a new TrackNano instance to be created by specifying the path of the backbone and neckhead model files in the "new cv.TrackerNano(backboneModelPath: String, neckheadModelPath)" constructor. All other methods, such as init and update, follow the convention and usage of the rest of the trackers.